package com.service;

import java.io.File;
import java.io.FileInputStream;
import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * 定义RMI接口
 */
public interface IHello extends Remote {
    /**
     * 测试rmi接口
     * */
    public String sayHello() throws RemoteException;

    public String sayHelloToSomebody(String name)throws  RemoteException;

    public byte[] getFileBytes(String filepath)throws  RemoteException;
}
